package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.entity.IncentiveGoodsOrderDtl;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 安全奖励订单明细 Service接口
 *
 * @author zhangwei
 * @date 2024-09-02 11:28:11
 */
public interface IIncentiveGoodsOrderDtlService extends IService<IncentiveGoodsOrderDtl> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-09-02 11:28:11
     * @param request QueryRequest
     * @param incentiveGoodsOrderDtl incentiveGoodsOrderDtl
     * @return IPage<IncentiveGoodsOrderDtl>
     */
    IPage<IncentiveGoodsOrderDtl> findIncentiveGoodsOrderDtlPage(QueryRequest request, IncentiveGoodsOrderDtl incentiveGoodsOrderDtl);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-09-02 11:28:11
     * @param incentiveGoodsOrderDtl incentiveGoodsOrderDtl
     * @return List<IncentiveGoodsOrderDtl>
     */
    List<IncentiveGoodsOrderDtl> findIncentiveGoodsOrderDtlList(IncentiveGoodsOrderDtl incentiveGoodsOrderDtl);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-09-02 11:28:11
    * @param id
    * @return IncentiveGoodsOrderDtl
    */
    IncentiveGoodsOrderDtl findIncentiveGoodsOrderDtlById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-09-02 11:28:11
     * @param incentiveGoodsOrderDtl incentiveGoodsOrderDtl
     */
    void createIncentiveGoodsOrderDtl(IncentiveGoodsOrderDtl incentiveGoodsOrderDtl);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-09-02 11:28:11
     * @param incentiveGoodsOrderDtl incentiveGoodsOrderDtl
     */
    void updateIncentiveGoodsOrderDtl(IncentiveGoodsOrderDtl incentiveGoodsOrderDtl);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-09-02 11:28:11
     * @param incentiveGoodsOrderDtl incentiveGoodsOrderDtl
     * @param incentiveGoodsOrderDtlIds incentiveGoodsOrderDtlIds
     */
    void deleteIncentiveGoodsOrderDtl(IncentiveGoodsOrderDtl incentiveGoodsOrderDtl,String incentiveGoodsOrderDtlIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-09-02 11:28:11
    * @param incentiveGoodsOrderDtlIds incentiveGoodsOrderDtlIds
    */
    void physicallyDeleteIncentiveGoodsOrderDtl(String incentiveGoodsOrderDtlIds);
}
